package cn.lysj.framework.customer.controller;

import cn.lysj.framework.base.BaseController;
import cn.lysj.framework.customer.domain.Customer;
import cn.lysj.framework.customer.service.CustomerService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;

/**
 * @author zwj
 * @description 客户类控制层
 * @create 2018-11-13 14:22:44
 **/
@Slf4j
@RestController
@Api(description = "客户类管理接口")
@RequestMapping("/customer")
public class CustomerController extends BaseController<Customer>{

    @Resource
    private CustomerService customerService;

    @Override
    public CustomerService getService() {
        return customerService;
    }

}
